package com.niuwa.p2p.dao.credit;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.credit.CompanyCourtInfo;

@MyBatisDao
public interface CompanyCourtInfoDao {
    int deleteByPrimaryKey(Long id);
    
    int deleteByCorpName(String corpName);

    int insert(CompanyCourtInfo record);

    int insertSelective(CompanyCourtInfo record);

    CompanyCourtInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CompanyCourtInfo record);

    int updateByPrimaryKey(CompanyCourtInfo record);
    
    CompanyCourtInfo selectByCorpName(String corpName);
}